package com.microlecture.service;

import com.microlecture.entity.CookbookDiscuss;

import java.util.List;

public interface CookbookDiscussService {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CookbookDiscuss record);

    CookbookDiscuss selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CookbookDiscuss record);

    List<CookbookDiscuss> selectByCondition(Integer userid, Integer cookbookid);

}